import Vue from 'vue'
import Router from 'vue-router'
import homeView from '../views/home.vue'
import myHonor from '../views/myHonor.vue'
import myRecord from '../views/myRecord.vue'
import allRank from '../views/allRank.vue'
import tucao from '../views/tucao.vue'

Vue.use(Router)

const router = new Router({
  base: '/',
  routes: [{
    name: 'home',
    path: '/',
    component: homeView
  }, {
    name: 'myHonor',
    path: '/myHonor',
    component: myHonor
  }, {
    name: 'myRecord',
    path: '/myRecord',
    component: myRecord
  }, {
    name: 'tucao',
    path: '/tucao',
    component: tucao
  }, {
    name: 'allRank',
    path: '/allRank',
    component: allRank
  }]
})

export default router
